package com.gz.university.crm.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/**
 * 系统菜单权限表
 * 
 * @author jack
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table
@IdClass(SysMenuPrivilegeId.class)
public class SysMenuPrivilege implements Serializable {
	private Integer roleId;
	private String menuModule;
	private String menuPrivilege;
	@Id
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	@Id
	@Column(length=30)
	public String getMenuModule() {
		return menuModule;
	}
	public void setMenuModule(String menuModule) {
		this.menuModule = menuModule;
	}
	@Id
	@Column(length=30)
	public String getMenuPrivilege() {
		return menuPrivilege;
	}
	public void setMenuPrivilege(String menuPrivilege) {
		this.menuPrivilege = menuPrivilege;
	}
	
}
